<?php

/**
 * Subclass for performing query and update operations on the 'subject' table.
 *
 * 
 *
 * @package lib.model
 */ 
class SubjectPeer extends BaseSubjectPeer
{
  public static function getSubjectByName($name)
  {
    $c = new Criteria();
    $c->add(SubjectPeer::NAME, $name);
    return(SubjectPeer::doSelectOne($c));
  }
}
